import logging
from datetime import timedelta


# from urllib.parse import quote_plus as urlquote


class BaseConfig:
    SECRET_KEY = "fsfsd482afewfwhudsdkckznknajdhuwrhafnf"

    # 数据库的配置信息
    SQLALCHEMY_DATABASE_URI = 'sqlite:///../data.db'

    # 默认日志等级
    LOG_LEVEL = logging.WARN

    SEND_FILE_MAX_AGE_DEFAULT = timedelta(hours=48)

    # SOCK_SERVER_OPTIONS = {'ping_interval': 25}
